package com.erainm.customserializer;

/**
 * Created by erainm on 2021/9/9 4:09 下午.
 *
 * @Description TODO:用户自定义的封装消息的实体类
 **/
public class User {
    private Integer userId;
    private String username;

    public User() {
    }

    public User(int userId, String username) {
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", username='" + username + '\'' +
                '}';
    }
}
